package com.flaskpy.web.eternity.admin.param;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
@Getter
@Setter
public class LoginParam {
    @Length(min = 6,max = 16)
    @NotBlank
    private String userName;
    @NotBlank
    @Length(min = 8,max = 16)
    private String password;
    @NotBlank
    @Length(min = 4,max = 4)
    private String code;
}
